Layout example
This example shows how to dynamically create a contact list using the Kanzi Engine API. The layout and prefabs that set the structure of the contact items are defined in the Kanzi Studio project. The project uses the Kanzi Engine API to instantiate the prefabs. Build and run the example application using Visual Studio.
You can find the example in the <KanziWorkspace>/Examples/Layout directory:
- The Kanzi Studio project is stored in the Tool_project directory.
- The Visual Studio solution is stored in the Application/configs/platforms/win32 directory.
- The code used for the project is stored in the Application/src directory.
In the Kanzi Studio project:
- gridLayout node arranges the contact items.
- contactCard prefab defines the structure for each contact item.
See also
Layout control nodes
Using the Grid Layout nodes
Examples
Open topic with navigation